package io.renren.modules.generator.service;

import io.renren.modules.generator.entity.CameraEntity;

import java.util.List;
import java.util.Map;

/**
 * 摄像头信息
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-05-23 11:21:35
 */
public interface CameraService {
	
	CameraEntity queryObject(Integer cameraId);
	
	List<CameraEntity> queryList(Map<String, Object> map);

	List<CameraEntity> timeList(Map<String, Object> map);

	int queryTotal(Map<String, Object> map);

	int timeTotal(Map<String, Object> map);
	
	void save(CameraEntity camera);
	
	void update(CameraEntity camera);
	
	void delete(Integer cameraId);
	
	void deleteBatch(Integer[] cameraIds);
}
